BINARY=gurpstl9
all: ui $(BINARY)

ui: gurpstl9.edc
	edje_cc gurpstl9.edc

$(BINARY): main.o
	gcc `pkg-config --libs ecore ecore-evas edje` main.o -o $(BINARY)

main.o: main.c
	gcc `pkg-config --cflags ecore ecore-evas edje` main.c -c

test: $(BINARY)
	./$(BINARY)

clean:
	rm -f $(BINARY) *.edj *.o *.pyc data/*.pyc

